{include file='public/head' /}
<body>
{include file='public/menu' /}
<div class="newscenter">
    <div class="wrap">
        <div>
            <div class="guide">
                <div class="title">
                    <p>新闻中心</p>
                    <p>News</p>
                </div>
                <div class="left">
                    <a {if condition="input('id') eq 0"}class="ac"{/if} href="{:url('Category/news')}">全部</a>
                    {volist name="CateList" id="cate" key="k"}
                    <a {if condition="input('id') eq $cate.id"}class="ac"{/if} href="{:url('Category/news',['id'=>$cate.id])}">{$cate.typename}</a>
                    {/volist}
                </div>
            </div>
            <div class="newscenter-news">
                <div class="list">
                    <div class="right"><a>您的位置： </a><a href="/">首页</a>  >  {$ur_here}</div>
                    <div>
                        {volist name="dataList" id="new"}
                        {if $new.id != 135}
                        <div class="news-line">
                            <a href="{:url('detail/index',['id'=>$new.id])}" class="news-img"><img src="{$new.litpic}" alt="{$new.title}"></a>
                            <a href="{:url('detail/index',['id'=>$new.id])}" class="news-words">
                                    <h2><span class="news-s1">{$new.title}</span><span class="news-s2">{$new.create_time}</span></h2>
                                    <p>{$new.description}</p>
                                    <div class="news-more">更多 ></div>
                            </a>
                        </div>
                        {/if}
                        {/volist}
                    </div>
                </div>
                <div id="pages">
                    {$dataList->render()}
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/foot"}
</body>
{include file='public/load_bottom' /}
</html>